# This file is part of BlackArch Linux ( https://www.blackarch.org/ ).
# See COPYING for license details.

pkgname=python-azure-mgmt-network
_pkgname=azure-mgmt-network
pkgver=29.0.0
pkgrel=1
pkgdesc='Microsoft Azure Network Management Client Library for Python.'
arch=('any')
url='https://pypi.org/project/azure-mgmt-network/#files'
license=('MIT')
depends=('python')
makedepends=('python-setuptools')
source=("https://files.pythonhosted.org/packages/source/${_pkgname::1}/$_pkgname/$_pkgname-$pkgver.zip")
sha512sums=('9790af57b37816a99a36aac283b0033649589a0bcb90e50b616d347fdc48995a27fbb21c3612177605a80d6453d32945fc262c8024cc88a966b4742e9eea4809')

build() {
  cd "$_pkgname-$pkgver"

  python setup.py build
}

package() {
  cd "$_pkgname-$pkgver"

  python setup.py install --prefix=/usr --root="$pkgdir" -O1 --skip-build
}

